// import axios from 'axios';
import axios from '@/utils/request';

export const getUserList = () => {
  return axios.request({
    url: '/api/user',
    method: 'get'
  });
};

export const updateUser = (data) => {
  return axios.request({
    url: `/api/update`,
    method: 'post',
    data
  });
};
